| - The pipe under lunix

| - The pipe under lunix

Issue

Please how I can use the pipe under linux, if the second command requires one argument, for example, I want to use the command find, which will return the files that I want to use as the first argument to the PC that requires second argument: the destination, so how can I combine all these data. Thank you in advance

Solution

Please use this command line;

find / path-type f-name "*. txt" -exec cp-v {} / destination / ;

Note

Solved by zipe31

Spread the love

Leave a Comment